﻿@model Hotel.Web.Models.Apply
<h2>@Hotel.Web.Views.RoomService.RoomServiceResource.Details</h2>
<p>@Hotel.Web.Views.RoomService.RoomServiceResource.ConfirmAssignment</p>
@using (Html.BeginForm("Apply", "RoomService"))
{
    <div class="fl">
        @Html.LabelFor(model => model.assignment.ID)<br />
        @Html.EditorFor(model => model.assignment.ID)<br />
        @Html.ValidationMessageFor(model => model.assignment.ID)<br /><br />
        @Html.LabelFor(model => model.assignment.RoomNumber)<br />
        @Html.EditorFor(model => model.assignment.RoomNumber)<br />
        @Html.ValidationMessageFor(model => model.assignment.RoomNumber)<br /><br />
        @Html.LabelFor(model => model.assignment.CurrentService.Name)<br />
        @Html.EditorFor(model => model.assignment.CurrentService.Name)<br />
        @Html.ValidationMessageFor(model => model.assignment.CurrentService.Name)<br /><br />
        @Html.LabelFor(model => model.assignment.Description)<br />
        @Html.EditorFor(model => model.assignment.Description)<br />
        @Html.ValidationMessageFor(model => model.assignment.Description)<br /><br />
        @Html.LabelFor(model => model.assignment.WorkerType)<br />
        @Html.EditorFor(model => model.assignment.WorkerType)<br />
        @Html.ValidationMessageFor(model => model.assignment.WorkerType)<br /><br />
    </div>
    <br />
    <br />
    <input type="submit" value="@Hotel.Web.Views.RoomService.RoomServiceResource.Apply" style="width: 150px"/>  
}
